package com.wwtech.epp.entity;

import com.wwtech.epp.db.Friend;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by huzhipeng on 2017/12/19.
 */

public class NodeInfo extends BaseBack {

    /**
     * data : {"endRow":8,"firstPage":1,"hasNextPage":false,"hasPreviousPage":false,"isFirstPage":true,"isLastPage":true,"lastPage":1,"list":[{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg","nickName":"刘松涛","orgTitle":"益阳城投总经理","phone":"13467373333","roleLevel":3,"userId":10213},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"龚厚文","orgTitle":"益阳城投纪检组组长","phone":"17773777378","roleLevel":2,"userId":10221},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/abc8e95595cb4cb9902c2c756de5bb03.jpg","nickName":"唐义松","orgTitle":"益阳城投副总经理、古城公司总经理","phone":"13973787777","roleLevel":2,"userId":10214},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/daf8e02707e74b8f938bebef7687d67d.jpg","nickName":"谢俊雄","orgTitle":"益阳城投总经济师","phone":"13607371898","roleLevel":2,"userId":10215},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171113/fb0a8d6a3369406888078bd102f42a05.png","nickName":"龚国军","orgTitle":"益阳城投副总经理","phone":"18907372831","roleLevel":2,"userId":10216},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"郭照光","orgTitle":"益阳城投副处级干部、益阳大桥总经理","phone":"18230506921","roleLevel":2,"userId":10218},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"喻跃辉","orgTitle":"益阳城投垃圾处理场分管领导","phone":"13607377749","roleLevel":2,"userId":10219},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"卜小兵","orgTitle":"益阳城投综合部部长、副处级干部","phone":"13873721518","roleLevel":2,"userId":10220}],"navigatePages":8,"navigatepageNums":[1],"nextPage":0,"pageNum":1,"pageSize":10,"pages":1,"prePage":0,"size":8,"startRow":1,"total":8}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * endRow : 8
         * firstPage : 1
         * hasNextPage : false
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : true
         * lastPage : 1
         * list : [{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg","nickName":"刘松涛","orgTitle":"益阳城投总经理","phone":"13467373333","roleLevel":3,"userId":10213},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"龚厚文","orgTitle":"益阳城投纪检组组长","phone":"17773777378","roleLevel":2,"userId":10221},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/abc8e95595cb4cb9902c2c756de5bb03.jpg","nickName":"唐义松","orgTitle":"益阳城投副总经理、古城公司总经理","phone":"13973787777","roleLevel":2,"userId":10214},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171108/daf8e02707e74b8f938bebef7687d67d.jpg","nickName":"谢俊雄","orgTitle":"益阳城投总经济师","phone":"13607371898","roleLevel":2,"userId":10215},{"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171113/fb0a8d6a3369406888078bd102f42a05.png","nickName":"龚国军","orgTitle":"益阳城投副总经理","phone":"18907372831","roleLevel":2,"userId":10216},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"郭照光","orgTitle":"益阳城投副处级干部、益阳大桥总经理","phone":"18230506921","roleLevel":2,"userId":10218},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"喻跃辉","orgTitle":"益阳城投垃圾处理场分管领导","phone":"13607377749","roleLevel":2,"userId":10219},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"卜小兵","orgTitle":"益阳城投综合部部长、副处级干部","phone":"13873721518","roleLevel":2,"userId":10220}]
         * navigatePages : 8
         * navigatepageNums : [1]
         * nextPage : 0
         * pageNum : 1
         * pageSize : 10
         * pages : 1
         * prePage : 0
         * size : 8
         * startRow : 1
         * total : 8
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigatePages;
        private int nextPage;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private ArrayList<Friend> list;
        private ArrayList<Integer> navigatepageNums;

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public ArrayList<Friend> getList() {
            return list;
        }

        public void setList(ArrayList<Friend> list) {
            this.list = list;
        }

        public ArrayList<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(ArrayList<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * avatar : http://s3.cn-north-1.amazonaws.com.cn/zxltest/20171020/fdb946e1784042359184feb4745021b0.jpg
             * nickName : 刘松涛
             * orgTitle : 益阳城投总经理
             * phone : 13467373333
             * roleLevel : 3
             * userId : 10213
             */

            private String avatar;
            private String nickName;
            private String orgTitle;
            private String phone;
            private int roleLevel;
            private int userId;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getOrgTitle() {
                return orgTitle;
            }

            public void setOrgTitle(String orgTitle) {
                this.orgTitle = orgTitle;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getRoleLevel() {
                return roleLevel;
            }

            public void setRoleLevel(int roleLevel) {
                this.roleLevel = roleLevel;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
